Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove getminimalprojectbyname where possible #390

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Oct 10, 2024

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Not all roles can use GetMinimalProjectByName due to the openshift lookup performed in that query.

This uses changes in machinery to update the functions that used to require the project ID to now accept project name, this includes a minimal projectByName that just gets the project name and id now which will work for any role that has the permission to view the project. See uselagoon/machinery#74 (now available in v0.0.30)

@shreddedbacon shreddedbacon marked this pull request as ready for review October 16, 2024 22:41
@shreddedbacon shreddedbacon merged commit a6903c6 into main Oct 17, 2024
2 checks passed
@shreddedbacon shreddedbacon deleted the less-minimals branch October 17, 2024 22:22
@shreddedbacon shreddedbacon mentioned this pull request Oct 23, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants